package com.example.tool.erp.sdk.api.wms.outer.in;

import com.example.tool.erp.sdk.Pager;
import com.example.tool.erp.sdk.WdtErpException;
import com.example.tool.erp.sdk.api.wms.outer.in.dto.OuterInOrderCreateRequest;
import com.example.tool.erp.sdk.api.wms.outer.in.dto.OuterInOrderCreateResponse;
import com.example.tool.erp.sdk.api.wms.outer.in.dto.OuterInQueryWithDetailRequest;
import com.example.tool.erp.sdk.api.wms.outer.in.dto.OuterInQueryWithDetailResponse;
import com.example.tool.erp.sdk.impl.Api;

import java.util.List;

public interface OuterInAPI
{
	@Api(value = "wms.outer.OuterIn.createOrder")
	OuterInOrderCreateResponse createOrder(OuterInOrderCreateRequest.Order order, List<OuterInOrderCreateRequest.OrderDetail> detailList, Boolean isCheck) throws WdtErpException;

	@Api(value = "wms.outer.OuterIn.queryWithDetail", paged = true)
	OuterInQueryWithDetailResponse queryWithDetail(OuterInQueryWithDetailRequest request, Pager pager) throws WdtErpException;
}
